libostree: Fix build failure with glib 2.42
authorBastien Nocera <hadess@hadess.net>
Mon, 4 Jul 2016 10:31:27 +0000 (10:31 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 4 Jul 2016 15:25:20 +0000 (15:25 +0000)
commit9df846559a8e7364ac710e6f5250f7f2001a37ea
treeca2f546bb56be35109e1c8d7a558fb59b411d629
parentcbca341a7710dd2db887090f61dbd03cc08a36e7
libostree: Fix build failure with glib 2.42

G_DEFINE_AUTOPTR_CLEANUP_FUNC is a new function in GLib 2.44, but
libglnx contains a backported version of it. A few source files were
however using G_DEFINE_AUTOPTR_CLEANUP_FUNC either without including
libglnx.h, or without including it early enough.

This fix is similar to the one in commit d368624.

Closes #376

Closes: #377
Approved by: smcv
src/libostree/ostree-gpg-verifier.c
src/libostree/ostree-repo-pull.c